import request from '@/utils/request'

// 查询评论列表
export function listComment(query) {
  return request({
    url: '/member/comment/list',
    method: 'get',
    params: query
  })
}

// 查询评论详细
export function getComment(commentId) {
  return request({
    url: '/member/comment/' + commentId,
    method: 'get'
  })
}

// 删除评论
export function delComment(commentId) {
  return request({
    url: '/member/comment/' + commentId,
    method: 'delete'
  })
}

// 导出评论
export function exportComment(query) {
  return request({
    url: '/member/comment/export',
    method: 'get',
    params: query
  })
}